﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<KabiManagementWeb.Models.Customer_Type>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Edit
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Edit</h2>
    <% using (Html.BeginForm())
       {%>
    <%= Html.ValidationSummary(true) %>
    <fieldset>
        <legend>Thông tin</legend>
        <div class="editor-label">
            Mã
        </div>
        <div class="editor-field">
            <%= Html.TextBoxFor(model => model.ID) %>
            <%= Html.ValidationMessageFor(model => model.ID) %>
        </div>
        <div class="editor-label">
            Tên
        </div>
        <div class="editor-field">
            <%= Html.TextBoxFor(model => model.Ct_Name) %>
            <%= Html.ValidationMessageFor(model => model.Ct_Name) %>
        </div>
        <div class="editor-label">
            Giảm Giá(%)
        </div>
        <div class="editor-field">
            <%= Html.TextBoxFor(model => model.Rate) %>
            <%= Html.ValidationMessageFor(model => model.Rate) %>
        </div>
        <div class="editor-label">
            Tiền Định Mức
        </div>
        <div class="editor-field">
            <%= Html.TextBoxFor(model => model.NormsMoney) %>
            <%= Html.ValidationMessageFor(model => model.NormsMoney) %>
        </div>
        <p>
            <input type="submit" value="Lưu lại" />
        </p>
    </fieldset>
    <% } %>
    <div>
        <%= Html.ActionLink("<- Quay lại", "Index") %>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ScriptZone" runat="server">
</asp:Content>
